﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "工序检验设置—工序管理";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)
            <p>
                <label>
                    工序：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    工序名称
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
            </p>
            <p>
                <label>
                    采样过程：
                </label>
                <input class="required textInput" name="org1.orgNum" type="text" postfield="keyword" suggestfields="orgNum,orgName," suggesturl="Quality/SampleProcess/Select" lookupgroup="org1" autocomplete="off">
                <a class="btnLook" rel="Select" href="Quality/InspectionScheme/SelectItem" lookupgroup="org1">选择料号</a>
            </p>
            <p>
                <label>
                    采样过程名称
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
            </p>

            <fieldset>
                <legend>采样过程参数</legend>
                <p>
                    <label>
                        采样类型：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                </p>
                <p>
                    <label>
                        自定义抽样表：
                    </label>
                    <input class="readonly testInput" id="inputOrg3" readonly="readonly" name="org1.orgSpec" value="">
                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgSpec" })*@
                </p>
                <p>
                    <label>
                        检验水平：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
                <p>
                    <label>
                        严格程度：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
                <p>
                    <label>
                        AQL：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
                <p>
                    <label>
                        百分比(%)：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
            </fieldset>
            <fieldset>
                <legend>首检/巡检参数设置</legend>
                <p>
                    <label>
                        巡检时间设定(m)：
                    </label>
                    <input id="unit" style="width:75px" />
                </p>
                <p>
                    <label>
                        巡检数量：
                    </label>
                    @Html.TextBoxFor(sysConfig => sysConfig.Title)
                </p>
                <p>
                    <label>
                        首检数量：
                    </label>
                    @Html.TextBoxFor(sysConfig => sysConfig.Title)
                </p>
                <p>
                    <label>
                        尾检数量：
                    </label>
                    @Html.TextBoxFor(sysConfig => sysConfig.Title)
                </p>

            </fieldset>
            @Html.Partial("Operation", Model)
        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>
